//Page Object
Page({
    data: {
        array : ['a', 'b', 'c', 'd', 'e'],
        objArray : [
            {
                id : 1,
                name : 'one'
            },
            {
                id : 2,
                name : 'two'
            },
            {
                id : 3,
                name : 'three'
            },
        ],
        show : true
    },
    //options(Object)
    onLoad: function(options){
        
    },
    onReady: function(){
        
    },
    onShow: function(){
        
    },
    onHide: function(){

    },
    onUnload: function(){

    },
    onPullDownRefresh: function(){

    },
    onReachBottom: function(){

    },
    onShareAppMessage: function(){

    },
    onPageScroll: function(){

    },
    //item(index,pagePath,text)
    onTabItemTap:function(item){

    }
});